﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using WorkflowCore.Models;

namespace Acme.BookStore.Persistence
{
    public class PersistedWorkflow : FullAuditedEntity<Guid>
    {

        public string WorkflowDefinitionId { get; set; }


      //  public PersistedWorkflowDefinition WorkflowDefinition { get; set; }

        public int Version { get; set; }

   
        public string Description { get; set; }


        public string Reference { get; set; }

     //   public virtual PersistedExecutionPointerCollection ExecutionPointers { get; set; } = new PersistedExecutionPointerCollection();

        public long? NextExecution { get; set; }

        public string Data { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime? CompleteTime { get; set; }

        public WorkflowStatus Status { get; set; }
        public int? TenantId { get; set; }

        public string CreateUserIdentityName { get; set; }
    }
}
